﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001497 RID: 5271
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockPamSkinScNotify : IMessage<UnlockPamSkinScNotify>, IMessage, IEquatable<UnlockPamSkinScNotify>, IDeepCloneable<UnlockPamSkinScNotify>, IBufferMessage
	{
		// Token: 0x17004256 RID: 16982
		// (get) Token: 0x0600EB9A RID: 60314 RVA: 0x002758B4 File Offset: 0x00273AB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockPamSkinScNotify> Parser
		{
			get
			{
				return UnlockPamSkinScNotify._parser;
			}
		}

		// Token: 0x17004257 RID: 16983
		// (get) Token: 0x0600EB9B RID: 60315 RVA: 0x002758BB File Offset: 0x00273ABB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockPamSkinScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004258 RID: 16984
		// (get) Token: 0x0600EB9C RID: 60316 RVA: 0x002758CD File Offset: 0x00273ACD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockPamSkinScNotify.Descriptor;
			}
		}

		// Token: 0x0600EB9D RID: 60317 RVA: 0x002758D4 File Offset: 0x00273AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockPamSkinScNotify()
		{
		}

		// Token: 0x0600EB9E RID: 60318 RVA: 0x002758DC File Offset: 0x00273ADC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockPamSkinScNotify(UnlockPamSkinScNotify other) : this()
		{
			this.pamSkinId_ = other.pamSkinId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EB9F RID: 60319 RVA: 0x00275901 File Offset: 0x00273B01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockPamSkinScNotify Clone()
		{
			return new UnlockPamSkinScNotify(this);
		}

		// Token: 0x17004259 RID: 16985
		// (get) Token: 0x0600EBA0 RID: 60320 RVA: 0x00275909 File Offset: 0x00273B09
		// (set) Token: 0x0600EBA1 RID: 60321 RVA: 0x00275911 File Offset: 0x00273B11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PamSkinId
		{
			get
			{
				return this.pamSkinId_;
			}
			set
			{
				this.pamSkinId_ = value;
			}
		}

		// Token: 0x0600EBA2 RID: 60322 RVA: 0x0027591A File Offset: 0x00273B1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockPamSkinScNotify);
		}

		// Token: 0x0600EBA3 RID: 60323 RVA: 0x00275928 File Offset: 0x00273B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockPamSkinScNotify other)
		{
			return other != null && (other == this || (this.PamSkinId == other.PamSkinId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EBA4 RID: 60324 RVA: 0x00275958 File Offset: 0x00273B58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PamSkinId != 0U)
			{
				num ^= this.PamSkinId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EBA5 RID: 60325 RVA: 0x00275997 File Offset: 0x00273B97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EBA6 RID: 60326 RVA: 0x0027599F File Offset: 0x00273B9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EBA7 RID: 60327 RVA: 0x002759A8 File Offset: 0x00273BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PamSkinId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.PamSkinId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EBA8 RID: 60328 RVA: 0x002759DC File Offset: 0x00273BDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PamSkinId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PamSkinId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EBA9 RID: 60329 RVA: 0x00275A1A File Offset: 0x00273C1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockPamSkinScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PamSkinId != 0U)
			{
				this.PamSkinId = other.PamSkinId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EBAA RID: 60330 RVA: 0x00275A4B File Offset: 0x00273C4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EBAB RID: 60331 RVA: 0x00275A54 File Offset: 0x00273C54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PamSkinId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005D42 RID: 23874
		private static readonly MessageParser<UnlockPamSkinScNotify> _parser = new MessageParser<UnlockPamSkinScNotify>(() => new UnlockPamSkinScNotify());

		// Token: 0x04005D43 RID: 23875
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D44 RID: 23876
		public const int PamSkinIdFieldNumber = 11;

		// Token: 0x04005D45 RID: 23877
		private uint pamSkinId_;
	}
}
